import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
    routes: [
        // 登录
        {
            name: 'login',
            path: '/login',
            component: () => import('@/pages/login')
        },
        // CPA数据管理/实时数据
        {
            name: 'data-man',
            path: '/data-man',
            component: () => import('@/pages/data-man/real-time')
        },
        {
            path: '*',
            component: () => import('@/pages/login')
        }
    ]
})